home *** CD-ROM | disk | FTP | other *** search
/ Interplay's Learn to Program Basic (Review Copy) / Learn to Program Basic Review Copy (Interplay)(June 23, 1998).ISO / pc / ltpbasic / refxmpl / len02.bas < prev    next >
BASIC Source File  |  1998-04-07  |  164b  |  12 lines

  1. CLS
  2. Print "Type in your name"
  3. Input name$
  4. L = Len(name$)
  5. Print
  6. For n = L to 1 Step -1
  7.   Print Mid$(name$,n,1);
  8. Next n
  9. Print
  10. Print "is your name spelled backward!"
  11.  
  12.